package com.xwdeshj.repository;

import com.xwdeshj.entity.XwSceincDiscussinfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by BKWJA on 2019/1/7.
 * 景区——景区评论信息
 */
public interface XwSceincDiscussinfoReopsitory extends JpaRepository<XwSceincDiscussinfo,Integer> {

    //根据景区店铺加密id，删除对应的相关记录
    public void deleteByScenicEncryptid(String sec_encryptId);

    //根据评论id，删除对应的相关记录
    public void deleteByScenicDiscusId(Integer scenic_discus_id);

}
